package com.ctshk.rpc.custom.dto.trip;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 团期线下渠道明细
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-03
 */
@Data
@ApiModel(value="团期线下渠道明细", description="团期线下渠道明细")
public class TripScheduleChannelDetailDTO implements Serializable {
    @ApiModelProperty(value = "明细ID")
    private Long id;

    @ApiModelProperty(value = "名称")
    private String name;

    @NotNull(message = "加幅类型不能为空")
    @ApiModelProperty(value = "加幅类型",required = true)
    private Integer adjustType;

    @ApiModelProperty(value = "勾选类型。1：部门，2：员工")
    private Integer checkType;

    private BigDecimal amount;

    @ApiModelProperty(value = "百分比")
    private BigDecimal percent;

    @ApiModelProperty(value = "是否限购。0：否，1：是")
    private Integer islimit;

    @ApiModelProperty(value = "限购数量")
    private Integer limitNum;
}
